package com.lcf.system.dto;

import com.lcf.framework.annotation.DictFile;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品分类(GoodsCategory)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:00
 */
@Data
@NoArgsConstructor
public class GoodsCategoryDTO {
    //分类名称
    @Schema(description = "分类名称")
    @NotBlank(message = "分类名称不能为空")
    private String name;
    //分类图片
    @Schema(description = "分类图片")
    @DictFile
    private String imgUrl;
}

